App_common := ../../app/app_common.c ../../app/app_common.h

Create: 01_create.c
	-gcc $^ -o $@
	./$@
	rm $@

Sum_sqr: 02_sum_sqr.c $(App_common)
	-gcc $^ -o $@
	./$@
	rm $@

Sum_sqr_thread: 02_sum_sqr_thread.c $(App_common)
	-gcc $^ -o $@
	./$@
	rm $@

cancel: 03_cancel.c
	-gcc $^ -o $@
	./$@
	rm $@

lock: 04_lock.c
	-gcc $^ -o $@
	./$@
	rm $@

mqueue: 05_mqueue_test.c
	-gcc $^ -o $@
	-./$@
	-rm $@